package com.cxkj.dao;

import com.cxkj.dto.Meentry;
import com.cxkj.dto.MeentryExample;
import com.cxkj.dto.Summary;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MeentryMapper {
    int countByExample(MeentryExample example);

    int deleteByExample(MeentryExample example);

    int deleteByPrimaryKey(Integer mid);

    int insert(Meentry record);

    int insertSelective(Meentry record);

    List<Meentry> selectByExample(MeentryExample example);

    Meentry selectByPrimaryKey(Integer mid);

    int updateByExampleSelective(@Param("record") Meentry record, @Param("example") MeentryExample example);

    int updateByExample(@Param("record") Meentry record, @Param("example") MeentryExample example);

    int updateByPrimaryKeySelective(Meentry record);

    int updateByPrimaryKey(Meentry record);
    
    /*新增方法*/
    //领取册号重复检测 、商户录入页面搜搜功能
    List<Meentry> meenTest(@Param("mVolume") String mVolume);
    //已领取册号添加商户名
    int addSogoByGet(Meentry record);
    //商户录入汇总
    List<Meentry> showMeByCount(@Param("startPos") int startPos,@Param("pageSize") int pageSize);
    //查询行数
    long getCount();
    //商户录入搜索
    List<Meentry> souMeen(@Param("mVolume") String mVolume,@Param("mSogoname") String mSogoname);
    //根据时间查询结算信息
    List<Meentry> settlementByJiedate(@Param("mColumn_1") String jieDate);
    //查询已结算的数据行数
    long getCountByJie();
    //结算信息分页
    List<Meentry> showJieByCount(@Param("startPos") int startPos,@Param("pageSize") int pageSize);
    //农户录入信息验证金额
    List<Meentry> farmerTest(@Param("djh")String djh,@Param("je")String je);
    
}